package com.goodedeeds.domain;

import com.youtills.action.ActionContext;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: rchiluve
 * Date: 3/12/14
 * Time: 7:22 PM
 * To change this template use File | Settings | File Templates.
 */
public interface IResourcePageDao {

    void saveResourcePage(ActionContext context,  IResourcePage school);
    IResourcePage getResourcePage(ActionContext context, int resourcePageId);
    IResourcePage getResourcePage(ActionContext context, int parentResourceType, int parentResourceId, int pageType);
    List<IResourcePage> getAllResourcePages(ActionContext context, int parentResourceType, int parentResourceId);

}
